package com.wdh.kjs.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;

import com.wdh.kjs.R;

/**
 * Created by feifei on 2016/4/29.
 */
public class Rongzi_2_Activity extends BaseTopActivity implements View.OnClickListener{
    private Spinner spinner;
    private Spinner spinner1;
    private String[] n = {"按月付息到期还本","到期一次性返本付息"};
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.rongzimessage_2);
        initview();
        initwidge();
    }

    private void initwidge() {

    }

    private void initview() {
        initTopBar("填写融资信息");
        spinner1 = (Spinner) findViewById(R.id.rongzi_spinner1);
        ArrayAdapter<String> spinneradapter1=new ArrayAdapter<String>(this,android.R.layout.simple_spinner_item, n);
        spinneradapter1.setDropDownViewResource(android.R.layout. simple_spinner_dropdown_item );
        spinner1.setAdapter(spinneradapter1);
    }

    @Override
    public void onClick(View view) {

    }
}
